import { useState } from 'react'
// import reactLogo from './assets/react.svg'
import router from './router';
import { useRoutes, Link } from 'react-router-dom';
// 全局样式
import '@/assets/styles/global.scss';


function App() {
  const outlet = useRoutes(router);

  // const [count, setCount] = useState(0)
  return (
    <div className="App">
      {/* <Link to="/home">Home</Link> */}
      {/* outlet */}
      {outlet}
    </div>
  );
}

export default App
